package com.example.vue20220225.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class Power extends Mypage implements Serializable {

    @TableId(value = "power_id", type = IdType.AUTO)
    private Integer powerId;
    @TableField(value = "parent_id")
    private Integer parentId;
    @TableField(value = "index_id")
    private Integer indexId;
    @TableField(value = "power_name")
    private String powerName;
    @TableField(value = "power_url")
    private String powerUrl;
    @TableField(exist = false)
    List<Power> list = new ArrayList<>();
    @TableField(exist = false)
    private Integer status;

}
